]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
portalHelper: Fix auth URI not being passed to window
authorBastien Nocera <hadess@hadess.net>
Wed, 31 May 2017 14:03:16 +0000 (16:03 +0200)
committerBastien Nocera <hadess@hadess.net>
Wed, 31 May 2017 14:51:05 +0000 (16:51 +0200)
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/portalHelper/main.js 360]: reference to undefined property top.uri
is caused by the URI variable actually being called "url".

https://bugzilla.gnome.org/show_bug.cgi?id=783286

js/portalHelper/main.js

index 39e0c2b541450787b8d72bb0d3c0207e887aa0ac..31ae969e3c085f3aa10aa8182af46a804d87fad3 100644 (file)
@@ -357,7 +357,7 @@ const WebPortalHelper = new Lang.Class({
         if (top.window != null)
             return;
 
-        top.window = new PortalWindow(this, top.uri, top.timestamp, Lang.bind(this, function(result) {
+        top.window = new PortalWindow(this, top.url, top.timestamp, Lang.bind(this, function(result) {
             this._dbusImpl.emit_signal('Done', new GLib.Variant('(ou)', [top.connection, result]));
         }));
     },